package com.qf.push.service.impl;

import com.qf.push.dao.MessageDao;
import com.qf.push.model.Message;
import com.qf.push.service.PushService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.push.service.impl
 * @Description:
 * @Date 2022/8/8 20:43
 */
@Service
public class PushServiceImpl implements PushService {
    @Resource
    private MessageDao messageDao;

    @Override
    public int saveMessage(Message message) {
        return messageDao.insertSelective(message);
    }
}
